package com.bcxj.internalcommon.constant;

/**
 * ClassName: OrderConstant
 * Package: com.bcxj.internalcommon.constant
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/11/9 20:38
 * @Version 1.0
 * @Since 1.0
 */
public class OrderConstant {
/*    *//**
     * 无效订单，订单长时间未处理就会设置为这样的状态。
     *//*
    Integer ORDER_INVALID = 0;
    Integer START = 1;
    Integer DRIVER_RECEIVE_ORDER = 2;
    Integer DRIVER_TO_PICK_UP_PASSENGER = 3;
    Integer DRIVER_ARRIVED_DEPARTURE = 4;
    Integer PICK_UP_PASSENGER = 5;
    Integer PASSENGER_GETOFF = 6;
    Integer TO_START_PAY = 7;
    Integer SUCCESS_PAY = 8;
    Integer CANCEL = 9;

    *//**
     * 撤销类型代码
     * 1:乘客提前撤销
     * 2:驾驶员提前撤销
     * 3:平台公司撤销
     * 4;乘客违约撤销
     * 5:驾驶员违约撤销
     *//*

    Integer CALCEL_PASSENGER_BEFORE = 1;
    Integer CANCEL_DRIVER_BEFORE = 2;
    Integer CANCEL_PLATFORM_BEFORE = 3;
    Integer CANCEL_PASSENGER_ILLEGAL = 4;
    Integer CANCEL_DRIVER_ILLEGAL = 4;*/

    /**
     * 无效订单，订单长时间未处理就会设置为这样的状态。
     */
    public final static int ORDER_INVALID = 0;
    public final static int START = 1;
    public final static int DRIVER_RECEIVE_ORDER = 2;
    public final static int DRIVER_TO_PICK_UP_PASSENGER = 3;
    public final static int DRIVER_ARRIVED_DEPARTURE = 4;
    public final static int PICK_UP_PASSENGER = 5;
    public final static int PASSENGER_GETOFF = 6;
    public final static int TO_START_PAY = 7;
    public final static int SUCCESS_PAY = 8;
    public final static int CANCEL = 9;

    /**
     * 撤销类型代码
     * 1:乘客提前撤销
     * 2:驾驶员提前撤销
     * 3:平台公司撤销
     * 4;乘客违约撤销
     * 5:驾驶员违约撤销
     */

    public final static Integer CALCEL_PASSENGER_BEFORE = 1;
    public final static Integer CANCEL_DRIVER_BEFORE = 2;
    public final static Integer CANCEL_PLATFORM_BEFORE = 3;
    public final static Integer CANCEL_PASSENGER_ILLEGAL = 4;
    public final static Integer CANCEL_DRIVER_ILLEGAL = 5;

}
